SetMenuItemHierarchicalID
NEW WITH THE APPEARANCE MANAGER
Attaches a submenu to a menu item.
pascal OSErr SetMenuItemHierarchicalID ( MenuHandle inMenu, SInt16 inItem, SInt16 inHierID)
inMenu
- The handle to the menu structure of the menu item to which you wish to attach a submenu.
inItem
- An integer representing the item number of the menu item to which you wish to attach a submenu.
inHierID
- An integer representing the menu ID of the submenu you wish to attach. This menu should be inserted into the menu list by calling
InsertMenu
.- function result
- A result code; see "Result Codes".
DISCUSSION
TheSetMenuItemHierarchicalID
function should be called instead of setting the keyboard equivalent to 0x1B.SEE ALSO
"Appearance Manager Gestalt Selector Constants".